﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SchoolManagement.Models.RepositoryInterface;

namespace SchoolManagement.Models.Repository
{
    public class SchoolDataRepository : ISchoolData
    {
        SchoolModelContainer dbContext = new SchoolModelContainer();
        public IList<SchoolData> GetSchoolData()
        {
            return dbContext.SchoolDatas.ToList();   
        }
    }
}
